package com.code.time1120;

/**
 * @author Administrator
 * 饿汉模式
 */
public class Singleton_1 {
	private static Singleton_1 single = new Singleton_1();
	private Singleton_1() {//私有化构造方法
	}
	public static Singleton_1 getInstance(){
		return single;
	}
}
